Skip to content

Instantly share code, notes, and snippets.

LLM Wiki

A pattern for building personal knowledge bases using LLMs.

This is an idea file, it is designed to be copy pasted to your own LLM Agent (e.g. OpenAI Codex, Claude Code, OpenCode / Pi, or etc.). Its goal is to communicate the high level idea, but your agent will build out the specifics in collaboration with you.

The core idea

Most people's experience with LLMs and documents looks like RAG: you upload a collection of files, the LLM retrieves relevant chunks at query time, and generates an answer. This works, but the LLM is rediscovering knowledge from scratch on every question. There's no accumulation. Ask a subtle question that requires synthesizing five documents, and the LLM has to find and piece together the relevant fragments every time. Nothing is built up. NotebookLM, ChatGPT file uploads, and most RAG systems work this way.

@devinschumacher
devinschumacher / how-to-podia.md
Last active November 6, 2026 16:58
How to Download Podia Videos

How to Download Podia Videos (Cloudflare Stream Videos)

Cloudflare Stream delivers video using signed, time-limited URLs containing JSON Web Tokens (JWTs).
These URLs point to either:

  • an HLS playlist (.m3u8), or
  • a DASH manifest (.mpd).

Each manifest references CMAF/fMP4 segments (seg_1.mp4, seg_2.mp4, etc.) for audio and video.

@joelonsql
joelonsql / PostgreSQL-EXTENSIONs.md
Last active November 6, 2026 16:56
1000+ PostgreSQL EXTENSIONs

🗺🐘 1000+ PostgreSQL EXTENSIONs

This is a list of URLs to PostgreSQL EXTENSION repos, listed in alphabetical order of parent repo, with active forks listed under each parent.

⭐️ >= 10 stars
⭐️⭐️ >= 100 stars
⭐️⭐️⭐️ >= 1000 stars
Numbers of stars might not be up-to-date.

@jnunemaker
jnunemaker / prompt.md
Created October 30, 2026 00:38
nunebot as of 2026-10-29 (aka its out of date by now I'm sure)

Nunebot

A recurring pass over my important projects. Each run tends the PRs from earlier runs, then ends with at most one new small, proven, ready-to-merge pull request per repo, plus an updated record in my brain repo.

How to think about the work

Software is not a factory. A factory builds identical widgets to a fixed spec and is done. Software changes every day: customers, scale, and requirements shift, so a perfect up-front spec never exists. Treat each repo like a painting you come back to: make one deliberate improvement per pass, and leave it better than you found it.

  • Spec what's objective. Hard limits, API contracts, data integrity, and tests are rules. Follow them.
  • Use judgment for the rest. Scale, taste, clarity, and what customers need right now. Read the code and the product like a critic, and decide.
@ManavA
ManavA / robnext.md
Created November 6, 2026 16:54
rob redaction and thread security

Robbie security brief

Robbie is a personal AI agent that reads and acts in your iMessage, WhatsApp and Gmail threads. It runs on a Next.js server, an iMessage daemon on a Mac, a WhatsApp linked-device sidecar written in Go, and an iOS app. Two layers protect it. Redaction keeps personal data away from hosted models. Thread Shield stops people in your chats from steering the agent.


Part 1. On-device redaction

Detection

  • Rules first. Deterministic detectors handle structured identifiers: phone numbers, emails, card and account numbers, addresses, dates of birth, government IDs and one-time codes. The test suites hold about 1,000 cases, plus a held-out PII corpus scored at 100% recall with zero false positives.
@vivian-dai
vivian-dai / installpygame.bat
Last active November 6, 2026 16:54
install pygame more easily
:: A script to install pygame for Windows
:: download this script and run ./installpygame.bat
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
python get-pip.py
pip install pygame
del /f get-pip.py
@quepasaeltoro
quepasaeltoro / CurseForge-NoAds.md
Created October 17, 2026 07:39
Hide CurseForge ads from the launcher

CurseForge (no ads)

Starts the CurseForge desktop app for Windows with the ad panel on the right hidden. No CurseForge files are changed.

Install

  1. On this page, click Raw in the top right corner of the CurseForge-NoAds.ps1 box below.
  2. Press Ctrl+A to select all the text, then Ctrl+C to copy it.
  3. Open Notepad and press Ctrl+V to paste.
  4. Click File → Save as and:
@htunnicliff
htunnicliff / react-solid-flow.tsx
Created September 7, 2023 21:41
Show, Switch, and Match for React – borrowed from Solid.js
import { Children, ReactNode, isValidElement, useMemo } from 'react';
type ShowProps<T> = {
when: T;
fallback?: ReactNode;
children: ReactNode | ((item: NonNullable<T>) => ReactNode);
};
/**
* Concept borrowed from Solid: https://www.solidjs.com/docs/latest/api#show
@aschober
aschober / ssh-on-android-linux-terminal.md
Created March 19, 2025 04:41
Setup SSH and Tailscale on Android 15 Linux Terminal App

Setup SSH and Tailscale on Linux Terminal App

This guide outlines the steps to set up an SSH server and Tailscale on a fresh Debian installation inside the Android Linux Terminal App. After completing these steps, you'll be able to securely SSH into the Linux environment running on your Android device from any remote machine over the internet using Tailscale.

  1. Update package lists and upgrade installed packages to the latest versions:

    sudo apt update && sudo apt upgrade -y
    
@cwendorf
cwendorf / revised_toc.R
Last active November 6, 2026 16:48
This is a revised version of "render_toc" that allows negative header levels.
revised_toc <- function(
filename,
toc_header_name = "Table of Contents",
base_level = NULL,
toc_depth = 3
) {
x <- readLines(filename, warn = FALSE)
x <- paste(x, collapse = "\n")
x <- paste0("\n", x, "\n")
for (i in 5:3) {